package com.woniuxy.yogaapp.service;

import com.woniuxy.yogaapp.pojo.Attention;
import com.woniuxy.yogaapp.pojo.Chat;
import com.woniuxy.yogaapp.pojo.Consultation;
import com.woniuxy.yogaapp.pojo.Friends;

import java.util.List;

/**
 * relation的service层接口
 */
public interface RelationService {
    String addAttention(Attention attention, Chat chat);

    String cancelAttention(Attention attention, Chat chat);

    List<Friends> findFriends(Integer uid);

    List<Attention> findAttentions(Integer uid);

    String addConsultation(Integer me, Integer other);

    List<Consultation> findConsultationByUid(Integer uid);

    String deleteConsultation(Integer me, Integer other);
}
